/******************************************************************************
 * The contents of this file are subject to the   JDI License  Version 1.0
 * ("License"); You may not use this file except in compliance with the License
 * Software distributed under the License is distributed on an  "AS IS"  basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specific language governing rights and limitations under the License.
 * The Initial Developer of the Original Code is 陈慧然. Portions created by 
 * 陈慧然 are Copyright 陈慧然.
 * All Rights Reserved.
 *
 *              Contact john_holen@163.com for licensing alternatives.
 *
 *****************************************************************************/


package org.peony.client.web.components;

import org.peony.exceptions.RenderException;
import org.peony.standard.ui.SIComponent;
import org.peony.tools.StringUtil;

/**
 *  
 *
 *  @author     陈慧然
 *  @version    Id: WebComponents.java, v 0.000 2008-4-25 下午03:37:36 陈慧然 Exp
 */
public abstract class WebComponents implements SIComponent{
	protected final static String empty = StringUtil.empty;
	protected String id = empty;
	protected String css = empty;
	public String getId() {
		return id;
	}

	public String getUIClass() {
		return css;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setUIClass(String css) {
		this.css = css;
	}

	public abstract String toStandardString() throws RenderException ;
	
	
}
